NotificationObject

public class NotificationObject implements Parcelable

An object returned if PingOne.processRemoteNotification() completes successfully.

NotificationObject represents an authentication request via remote notification. It can be approved or denied.

Implements Parcelable so the developer will be able to pass it via intents.

Functions

Link copied to clipboard
@Deprecated(since = "1.1.0")
public void approve(Context context, PingOne.PingOneSDKCallback callback)
public void approve(Context context, String authenticationMethod, @Nullable() Integer numberMatchingPickedValue, PingOne.PingOneSDKCallback callback)
Approve authentication
Link copied to clipboard
public void deny(Context context, PingOne.PingOneSDKCallback callback)
Denies authentication
Link copied to clipboard
Returns client-context String object or null if no context was passed by the server
Link copied to clipboard
Returns number matching options int array object or null
Link copied to clipboard
Returns number matching type String object or null SELECT_NUMBER: the user will pick a number from numberMatchingOptions.
Link copied to clipboard
public int getTimeoutDuration()
The maximum time duration allowed from getting push till user response
Link copied to clipboard
public boolean isCancelAuth()
Checks if the push type is cancel authentication
Link copied to clipboard
public boolean isTest()
Checks if the push was sent for testing purpose.